package com.raft.core.service;

import java.io.Serializable;

import com.raft.core.node.NodeId;

public class RemoveNodeCommand implements Serializable {

    /**
	 *
	 */
	private static final long serialVersionUID = 6521939873731701193L;
	private NodeId nodeId;

    public RemoveNodeCommand() {
		super();
	}

	public RemoveNodeCommand(String nodeId) {
        this.nodeId = new NodeId(nodeId);
    }

    public NodeId getNodeId() {
        return nodeId;
    }

}
